package com.demo.factoryMethod.picture;

/**
 * Created by Administrator on 2017/5/26.
 */
public class Client {
    public static void main(String[] args) {
        Picture1 picture;
        PictureFactory factory;
        factory = new JpgFactory();
        picture = factory.createPicture();
        picture.readPicture();
    }
}
